package com.detail.facade.impl;

import com.detail.entity.Order;
import com.detail.facade.OrderFacadeService;
import com.detail.service.OrderService;
import lombok.AllArgsConstructor;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @Author: Duansanmao
 * @Date: 2021/7/18 17:57
 */
@Service
@AllArgsConstructor
public class OrderFacadeServiceImpl implements OrderFacadeService {

    @Resource
    private final OrderService orderService;
    @Override
    public Order getOrderDetail(String orderId) {
        return orderService.getOrderDetail(orderId);
    }
}
